import { defHttp } from '/@/utils/http/axios';

enum Api {
  //system/getMenuList
  TeacherList = '/teacher.teacher/getList',
  // TeacherList = '/teacher.teacher/getList',
  TeacherAdd = '/teacher.teacher/add',
  TeacherDel = '/teacher.teacher/del',
  //
  // LocationList = '/teacher.location/getList',
  // LocationAdd = '/teacher.location/add',
  // LocationDel = '/teacher.location/del',
}

export const TeacherList = (params?: any) => defHttp.get<any>({ url: Api.TeacherList, params });
//
export const TeacherAdd = (params?: any) => defHttp.post<any[]>({ url: Api.TeacherAdd, params });
//
export const TeacherDel = (params?: any) => defHttp.post<any[]>({ url: Api.TeacherDel, params });
//
// export const LocationList = (params?: any) => defHttp.get<any>({ url: Api.LocationList, params });
//
// export const LocationAdd = (params?: any) => defHttp.post<any[]>({ url: Api.LocationAdd, params });
//
// export const LocationDel = (params?: any) => defHttp.post<any[]>({ url: Api.LocationDel, params });
